package com.woniuxy.woniubook.esdao;

import com.woniuxy.woniubook.vo.EsBook;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MyBookRepository  extends ElasticsearchRepository<EsBook,Long> {
    List<EsBook> findByNameOrAuthorOrTypeNameOrProviderOrDetail(String name,String author,String typeName ,String provider,String detail);
}
